package com.shadow.web.back;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by qq65827 on 2015/1/24.
 */
@Controller
@RequestMapping("/shadow")
public class shadowController extends BaseViewController {


    @RequestMapping("jiping")
    public ModelAndView jiping(HttpServletRequest request, ModelAndView modelAndView) {
        String path=request.getContextPath();
        modelAndView.addObject("path", path);
        return JspLocation(modelAndView, "jiping");
    }
    @Override
    protected String getJspLocation() {
        return "/shadow/";
    }
}
